package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractAllEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author flyme
 * @date 2022-03-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("app_user_goodstag")
@TableAlias("appUserGoodsTag")
@ApiModel(value = "AppUserGoodstag对象", description = "")
public class AppUserGoodstag extends AbstractAllEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "userGoodsTagId", type = IdType.ASSIGN_ID)
    private Long userGoodsTagId;

    @ApiModelProperty(value = "会员卡Id")
    private Long userGoodsId;

    @ApiModelProperty(value = "备注标签")
    private String tagRemark;

    @ApiModelProperty(value = "备注人")
    private Long optUserId;

    @ApiModelProperty(value = "备注来源")
    private Integer sourceType;

}
